﻿using System;
using System.Collections.Generic;
using System.Text;
using WinnerCMS.BLL.SitemapBuilder;
using WinnerCMS.Common;
namespace WinnerCMS.PlugIn.Task
{
    public class AutoBuidingSiteMap : WinnerCMS.PlugIn.Scheduler.IScheduler
    {

        public void Execute(object parameterized)
        {
            new SitemapBuilder().BuildingGoogle(20,
                 "daily",
                 "0.5",
                 HttpServer.MapPath("/"),
                 "sitemap");

            new SitemapBuilder().BuildingBaidu(20,
             "15",
               HttpServer.MapPath("/"),
              "news");
        }

    }
}